package com.jfinal.bbsapp.course;
import com.jfinal.aop.Clear;
import com.jfinal.aop.Inject;
import com.jfinal.core.Controller;
import com.jfinal.core.Path;
@Path("/course")
public class CourseController extends Controller {
	@Inject
	private CourseService srv;
	
	//获取课程章节
	@Clear
	public void chapterlist() {
		renderJson(srv.chapterlist(getPara("courseid")));
	}
}
